System Administration
168
Getting Started Guide
•
~/.kde/share/icons Contains icons to be used by KDE for this user only.
For example, if the user has installed a KDE theme that replaces the
default window dressing with new icons, these will be stored in this sub-
directory. Other KDE applications may also store icons here, as may the
user for other purposes.
A single hidden file is also present in each user’s home directory during and after
each KDE session. This file, .kderc, contains information about the user’s lan-
guage preference, the status of open windows at the end of the last KDE session,
and so forth.
Setting Up a Web Server
The Apache Web server is automatically installed and configured when you
install OpenLinux. This Web server is used for processing online help requests
and online documentation within OpenLinux. You can easily use it as a Web
server for other clients to browse documents from your system.
To check the status of the Web server, use the ps aux command and look for lines
containing the httpd process. The httpd program is the Apache Web server.
Several files and subdirectories are used by the Web server:
•
/home/httpd/cgi-bin: script files are located in this directory by default.
•
/home/httpd/html: This is the document tree; all files placed in this direc-
tory or one of its subdirectories are visible to anyone who accesses your
Web server via a network or Internet connection.
•
/var/log/httpd/apache/error_log: Log file for errors generated when the
Web server was unable to respond to a document request.
•
/var/log/httpd/apache/access_log: Log file for all access to the Web
server’s documents. Each file transfer is logged to this file.
•
/etc/httpd/apache/conf/httpd.conf: Configuration file for the Apache
server. Hundreds of instructions are included in this file to configure how
your Apache server operates. Although these instructions are pre-config-
ured, you should plan to learn more about Apache and alter this configu-
ration before using your OpenLinux server as a production Web server.
NOTE: Two other configuration files, srm.conf and
access.conf, are also included in the /etc/httpd/apache/conf
directory. With the latest version of Apache, the configuration
settings included in these files can all be placed in the
httpd.conf file.